home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
tpapi.doc
< prev
next >
Wrap
Text File
|
1994-01-14
|
10KB
|
265 lines
*************************************************
* Turbo Pascal API's for Novell Netware (TPAPI) *
*************************************************
TPAPI (c) Copyr. 1991, 1992, 1993 Antonio Covelli ALL RIGHTS RESERVED
VERSION CHANGES (reverse chronological order)
===============
Version 1.51 - Released 1st September, 1993
* Changed bug in GetVolumeName (NWDIR) so that the volumename is correctly
returned. Also changed to the NCP protocol.
* Implemented ConvertPathToDirectoryEntry in NETWARE.
* Implemented MapDirectoryNumberToPath in NETWARE.
* Moved duplicate functions ScanBinderyObjectTrusteePaths from NWBINDRY &
NWDIR to NETWARE. Also changed it to use the NCP protocol.
* Changed GetServerInformation (NWFSSERV) to use the NCP protocol.
* Added ScanFileDirectoryExtTrustee API to NWDIR. This also uses the NCP
protocol.
* Changed Rights parameter in GetEffectiveRights to be TrusteeRights.
* Added AddExtTrusteeFileDirectoryTrustee API to NWDIR. This also use the NCP
protocol.
* Added Netware v3.11 support for GetConnectionsOpenFiles in NWDIR.
* Started optimizing certains portions of code within NETWARE. Many thanks
go to Peter Sawatzki for prompting me to look into this.
* Removed FileServiceRequest from NETWARE. This is exactly the same as
NCPRequest except that the buffer lengths are passed before their
respective buffers.
* Fixed bug in _IPXInitialise that would stop it from working with the
older shells.
* Fixed bug in GetVolumeInfoWithNumber (NWDIR) in that it would not work in
DPMI mode.
* Fixed bug in MapFakeRoot (NWWRKSTN) in that it would not work in DPMI mode.
* Removed ServerRequest from NETWARE and renamed ServerReq to ServerRequest.
* Added support for KeyedChangePassword, KeyedVerifyPassword. See example
KEYPASS for additional info.
* Changed all BinderyOBJ methods to use the NCP protocol. This will allow
proper interfacing to the VLM once I activate the 2F facility.
* Started changing all the API's to use the NCP protocol. This methods
uses Request, Receive buffers for most (if not all) of the calls.
--------------------------------------------------------------------------------
Version 1.50 - Released : 1st July, 1993
* Encrypted password support is now available thanks to Barry Nance. Barry
has kindly allowed me to incorporate his ELOGON source code into TPAPI.
The source (in NWENCRYP) was from Software Corner, Byte Magazine.
* Changed all declared TYPES in NWVAR. The following example show the change
ObjectNameType -> TObjectName
PathNameType -> TPathName
This way of declaring TYPES seems to be more or less a standard in the
industry.
* TPAPI is now DPMI/REAL mode compatible! I have done some preliminary
testing under Windows and have found no problems so far.
* Changed the following object names :
ConnectOBJ -> ConnectionOBJ
FServOBJ -> FileServiceOBJ
SynchOBJ -> SynchronisationOBJ
WorkStatOBJ -> WorkStationOBJ
* Added lots of examples to do some of the more difficult things in Netware.
E.G. Printing to LPT ports, printing directly to queues, using semaphores
and getting workstation information.
--------------------------------------------------------------------------------
Version 1.44 - Not released : Internal version
* Changed ConvertNodeAddress, ConvertNetworkNumber to be functions.
* Added dynamic allocation of the request/receive buffers. When initialising
objects if you pass true then the buffers are allocated and deallocated for
each method, if you pass in false then they are allocated once and
deallocated when you call the object's done method.
The second method is faster but the memory is always taken up whereas in
the first option you only use the memory when calling a TPAPI api.
--------------------------------------------------------------------------------
Version 1.43 - Not released : Internal version
* Changed ExamineSemaphore (SemaphoreValue), OpenSemaphore (IntialValue) to
be of type INTEGER. Semaphore values can be negative as well as positive.
* Instead of using PObjectListing I have now changed all methods to use
PStringCollections for efficency. The collections are all SORTED as they
are generated.
Basically you need to include the OBJECTS unit in your USES clause. To
see more information check out the BINDLIS1.PAS file.
Please consult your Turbo Vision manual for more technical information on
collections.
* Removed data type Set_Capture_Flags from NWVAR as it is not used anywhere.
* Added capability to handle fake roots. Requires NETX.* v3.0 or later.
MAPFAKEROOT, DELETEFAKEROOT and GETRELATIVEDRIVEDEPTH can be found in
NWWRKSTN.
* Added fake root capability to MISCMAPDRIVE in NWMISC.
--------------------------------------------------------------------------------
Version 1.42 - Released : Internal version
* Changed constant BF_SET in NWVAR to be $02.
* Fixed problem in SCANPROPERTY in NWBINDRY so that the next sequence number
returned is correct.
* Moved constant HexCharacterSet into HexString function. (NETWARE)
* Started on the long road to DPMI compliance with a lot of help from
Mark Edington (Borland USA).
* Within NWQUEUE changed all references to FileOfByte to FileOfText.
* Fixed bug within GetQueueJobList (NWQUEUE) which was that the number of jobs
within a queue were not all correctly returned.
* Added function GetTPAPIVersion (NETWARE) which returns a string containing
the version and release date of TPAPI.
--------------------------------------------------------------------------------
Version 1.41 - Released : 19th February, 1993
* Recompiled under Turbo Pascal 7.0 (REAL mode only).
--------------------------------------------------------------------------------
Version 1.4 - Released : 10th October, 1992
* Changed GetObjectName to GetObjectNameID (NWMISC.TPU) so that the objectid
is now also returned.
* Changed the inner workings of certain parts of the Misc Servvices unit
(NWMISC.TPU). This should be transparent to everyone. The MiscFuncOBJ now
uses less memory.
* Removed the parameter ConnectionID from LoginToFileServer in Connection
unit (NWCONN.TPU) as it is not used.
* Changed GetFileServerMiscInformation (NWFSSERV.TPU) to return the fourth
dynamic memory pool in Netware 286 v2.2
* Fixed bug in GetNetworkSerialNumber (NWSERIAL.TPU) so that it properly
returns the requested information.
* Changed ConnectionID in SetCapturePrintQueue (NWPRINT.TPU) to be a WORD
instead of a BYTE.
* Changed GetNetwareShellVersion (NWWRKSTN.TPU) to return the shell type.
* Added GetTaskMode & SetTaskMode to WorkStation Services (NWWRKSTN.TPU)
* Fixed bugs in SetDefaultCaptureFlags/SetSpecificCaptureFlags (NWPRINT.TPU)
which caused incorrect setting of the Timeout count.
* Changed DriveHandle to DirectoryHandle in SpecifyCaptureFile (NWPRINT.TPU).
* Added SetShowDots (NWWRKSTN.TPU) to allow the switching of whether or not
'.' and '..' are seen in directory listings (useful for Windows).
* Changed SetDefaultCaptureFlags, SetSpecificCaptureFlags (NWPRINT.TPU) to use
Capture_Flags structure instead of Set_Capture_Flags.
* Modified the PrinterSetupBuffer, PrinterResetBuffer in Print Services.
(NWPRINT.TPU).
* Added SetNWCaptureFlags to Misc Services (NWMISC.TPU). This procedure sets
the default for the structure Capture_Flags.
* Added GetPrintQueueDirectoryID to Misc Services (NWMISC.TPU).
* Fixed bug in GetFileServerLoginStatus (NWFSSERV.TPU) so that it returns
correct information.
--------------------------------------------------------------------------------
Version 1.3 - Released : 2nd March, 1992
* Added MakeSupervisor, RevokeSupervisor to Misc Services unit (NWMISC.TPU)
Allows programmer to easily make an object security equivalent or not to the
Supervisor.
--------------------------------------------------------------------------------
Version 1.2 - Released : Internal version
* Finally completed FileServer Services unit (NWFSSERV.TPU).
* Added several more examples which show how easy it is to replicate Novell
utilities.
* MapV3TrusteeRightsToV2 (NWDIR.TPU) fixed bug which gave incorrect info.
* Changed _NWMapWildPath (NETWARE.TPU) to a function.
* Moved all table pointers out of NetwareOBJ.
--------------------------------------------------------------------------------
Version 1.1 - Released : Internal version
* Added a complete new suite of API's - Queue services. The only difference
from Netware is that no file handles are returned, instead a FileOfByte
type is used.
* Added more API's throughout.
* Added AutoLogin function to NWMISC unit.
* Moved FileServerNameTable & ServerConnectionIDTable out of NetwareOBJ.
* Changed variable FileSize to SizeOfFile in certain units.
* Started the documentation in real anger.
* FileServerServices (NWFSSERV.TPU) - Possible bug in Netware
GetExtendedFileAttributes is meant to return the FileAttributes and a
result. When you call the function both the FileAttributes and the result
are the same value.
--------------------------------------------------------------------------------
Version 1.0b - Released 4th December, 1991
* First real release of the library for Turbo Pascal 6.0.
* Certain limitations do exist :
You cannot use any method on a file server that has ENCRYPTED PASSWORDS
set to on.
--------------------------------------------------------------------------------
Antonio Covelli